package com.imooc.distributedemo.resume.ex2024.StrategyPattern;

public class Solution {
    public static void main(String[] args) {
        // 乘法
        Caculator caculator = new Caculator(new MultiplyStrategy());
        float result = caculator.executeCaculat(10,3);
        System.out.println("result is:"+result);

    }
}
